//
//  TitleCollectionReusableView.h
//  XiMaLaYa
//
//  Created by dllo on 15/11/12.
//  Copyright © 2015年 L-G. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SortModel.h"
#import "BaseView.h"

typedef void (^MyBlock)(NSUInteger section);

@protocol SortTitleDelegate <NSObject>

- (void)sendSection:(NSInteger)section;

@end

@interface TitleCollectionReusableView : UICollectionReusableView

@property (nonatomic, retain)SortModel *sortModel;
// 分区标题
@property (nonatomic, retain)UILabel *labelTitle;
// 更多
@property (nonatomic, retain)UILabel *labelMore;

@property (nonatomic, retain)UILabel *sortTitleLabel;

@property (nonatomic, assign)NSUInteger section;

@property (nonatomic, assign)id <SortTitleDelegate> delegate;

@property (nonatomic, copy) MyBlock myBlock;

@end
